import java.util.Scanner;

public class Main3
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个三位数；");
        int a=sc.nextInt();
        int ge=a%10;
        int shi= (a / 10) % 10;
        int bai= ((a / 10)/10) % 10;
        System.out.println("个位:"+ge);
        System.out.println("十位:"+shi);
        System.out.println("百位:"+bai);
    }
}
